#include "Bullet3Common/b3FileUtils.h"
#ifdef __cplusplus
extern "C" {
#endif
b3FileUtils* bullet_Newb3FileUtils(){
	b3FileUtils* wrap_out = new b3FileUtils();
	return wrap_out;
}

int bullet_b3FileUtils_extractPath(b3FileUtils* c_this,char* fileName,char* path,int maxPathLength){
	char const * c_arg_fileName=(char const *)(void*)(fileName);
	char * c_arg_path=(char *)(void*)(path);
	int c_arg_maxPathLength=maxPathLength;
	int c_out = c_this->extractPath(c_arg_fileName,c_arg_path,c_arg_maxPathLength);
	int wrap_out = (c_out);
	return wrap_out;
}

bool bullet_b3FileUtils_findFile(b3FileUtils* c_this,char* orgFileName,char* relativeFileName,int maxRelativeFileNameMaxLen){
	char const * c_arg_orgFileName=(char const *)(void*)(orgFileName);
	char * c_arg_relativeFileName=(char *)(void*)(relativeFileName);
	int c_arg_maxRelativeFileNameMaxLen=maxRelativeFileNameMaxLen;
	bool c_out = c_this->findFile(c_arg_orgFileName,c_arg_relativeFileName,c_arg_maxRelativeFileNameMaxLen);
	bool wrap_out = (c_out);
	return wrap_out;
}

char* bullet_b3FileUtils_strip2(b3FileUtils* c_this,char* name,char* pattern){
	char const * c_arg_name=(char const *)(void*)(name);
	char const * c_arg_pattern=(char const *)(void*)(pattern);
	char const * c_out = c_this->strip2(c_arg_name,c_arg_pattern);
	char* wrap_out = (char*)(void*)(c_out);
	return wrap_out;
}

void bullet_b3FileUtils_toLower(b3FileUtils* c_this,char* str){
	char * c_arg_str=(char *)(void*)(str);
	c_this->toLower(c_arg_str);
}

char bullet_b3FileUtils_toLowerChar(b3FileUtils* c_this,char t){
	char const c_arg_t=t;
	char c_out = c_this->toLowerChar(c_arg_t);
	char wrap_out = (c_out);
	return wrap_out;
}

#ifdef __cplusplus
}
#endif
